package net.zjitc.dao;


import net.zjitc.domain.User;

import java.sql.SQLException;


/**
 * Created by Administrator on 2017/9/29.
 */
public interface UserDao {
    User findByUsernameAndPassword(String username, String password);
    User findByUsername(String username);
    void insert(User user) throws SQLException;
}
